import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'


// main.js
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif
import * as Pinia from 'pinia';
import uviewPlus from '@/uni_modules/uview-plus'
import "/static/common.scss"
import gloab from "@/common/gloab"
import config from "@/common/config"
import http from "@/utils/http"
// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	app.use(Pinia.createPinia());
	app.use(uviewPlus)
	app.config.globalProperties.$gloab = gloab
	app.config.globalProperties.$config = config
	app.config.globalProperties.$http = http
	return {
		app
	}
}
// #endif